From 5bafd37ee3348e6bfd7dee224bb243d7cb5b221f Mon Sep 17 00:00:00 2001
From: Kevin Cozens Babl is a dynamic, any to any, pixel format conversion
- library It provides conversions between the myriad of buffer
+ library. It provides conversions between the myriad of buffer
types images can be stored in. Babl doesn't only help with existing
pixel formats, but also facilitates creation of new and uncommon
ones. When creating various libraries and small tools that deal with
- computer graphics I have often created function for converting
- raster images between different representations. Background
Libraries to help with such conversions already do exist, but no - extendable candidate have surfaced in my searches. + extendable candidates have surfaced in my searches.
The vocabulary developed in babl will most likely be part of @@ -128,18 +129,18 @@
When using BablFishes to do your conversions, you request a fish to convert between two formats, and an optimal fish to babls capability is provided that you can use to do your conversions. Babl also provides - the capability to describe new formats based on a vocbulary of user + the capability to describe new formats based on a vocabulary of user registered color models and data types.
Babl provides a base vocabulary in BablBase and some extensions - thar are thought to be generally useful.
+ that are thought to be generally useful.When performing further extensions to the vocabulary of babl, the internal consistency is governed by reference conversions that operate - on double (64 bit floating point values.) The only color model + on double (64 bit floating point values). The only color model created during BablCore bootstrap is RGBA (linear light RGB, - 0.0 - 1.0, with a linear 0.0 - 1.0 opacity channel.) backed by + 0.0 - 1.0, with a linear 0.0 - 1.0 opacity channel) backed by the double datatype.
@@ -149,10 +150,9 @@ constructing BablFishes for other conversions. -Babl extensions are shared objects, if you already have developed +
Babl extensions are shared objects. If you have already developed some fast conversion functions, wrapping them as babl extensions should - not take much time, and will speed up babl for other users as well you - make the conversions available for others as well. + not take much time and will speed up babl for other users as well.
@@ -163,7 +163,6 @@- At compile, load and runtime; babl is extendable with: + At compile, load, and runtime; babl is extendable with:
For samples of how the current internal api of specification of +
For samples of how the current internal API specification of data types, color models, and conversions look in the extensions/ directory. The tables in this HTML file is directly generated based on the data registered by BablCore (double and RGBA), BablBase (core datatypes, and RGB models), -- 2.30.2